package com.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (TbCompany)实体类
 *
 * @author makejava
 * @since 2023-07-10 16:39:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_company")
public class TbCompany implements Serializable {
    private static final long serialVersionUID = -42893636299269793L;
    @TableId(type = IdType.AUTO)
    private Integer companyId;
    /**
     * 友商名称
     */
    private String companyName;
    /**
     * 信用代码
     */
    private String companyCode;
    /**
     * 企业名称
     */
    private String companyCompanyname;
    /**
     * 友商类型(客户/供应商)
     */
    private String companyType;
    /**
     * 申请状态(0待审核/1通过/2已驳回)
     */
    private String companyState;
    /**
     * 申请时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date companyTime;
    
    private Integer companyA;
    
    private Integer companyB;
    
    private Integer companyC;
    
    private Integer companyD;
    
    private Integer companyE;


    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyCompanyname() {
        return companyCompanyname;
    }

    public void setCompanyCompanyname(String companyCompanyname) {
        this.companyCompanyname = companyCompanyname;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getCompanyState() {
        return companyState;
    }

    public void setCompanyState(String companyState) {
        this.companyState = companyState;
    }

    public Date getCompanyTime() {
        return companyTime;
    }

    public void setCompanyTime(Date companyTime) {
        this.companyTime = companyTime;
    }

    public Integer getCompanyA() {
        return companyA;
    }

    public void setCompanyA(Integer companyA) {
        this.companyA = companyA;
    }

    public Integer getCompanyB() {
        return companyB;
    }

    public void setCompanyB(Integer companyB) {
        this.companyB = companyB;
    }

    public Integer getCompanyC() {
        return companyC;
    }

    public void setCompanyC(Integer companyC) {
        this.companyC = companyC;
    }

    public Integer getCompanyD() {
        return companyD;
    }

    public void setCompanyD(Integer companyD) {
        this.companyD = companyD;
    }

    public Integer getCompanyE() {
        return companyE;
    }

    public void setCompanyE(Integer companyE) {
        this.companyE = companyE;
    }

}

